package controller;

import java.io.File;

import javax.xml.bind.JAXB;

import model.CardDeck;

/**
 * load example for JAXB
 * @author jens
 *
 */
public class LoadCarddeck {

	private final String fileName = "";
	private CardDeck kd = null;
	
	public LoadCarddeck(){
	    File file = new File( fileName );
	    if(file.exists()){
	    	kd = JAXB.unmarshal( file, CardDeck.class );
	    	System.out.println(kd.getName());
	    }
	}
	
}
